package cn.gzsxt.dao;

import java.util.List;

import com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException;

public interface MyBaseDao {
	public <T> List getSelectRows(Class<T> clz, String sql, Object... params);
	
	public <T> int update( Object obj);
	
	public int delete(String sql);
	
	public <T> int insert(Object obj) throws MySQLSyntaxErrorException;
	
	public <T> T getRow(Class<T> clz, String sql);
	
}
